<?php

namespace App\Admin\Actions;

use Encore\Admin\Actions\RowAction;

class Access extends RowAction
{
    public $name = '授权';


    /**
     * @return string
     */
    public function href()
    {
        return $this->getResource()."/".$this->getKey()."/setrole";
    }
}